<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ylq
  Date: 2017/6/13
  Time: 14:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>新增邮件设置</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- 可选的Bootstrap主题文件（一般不用引入） -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/register.css"/>
    <!--[if lte IE 9]>

    <script src="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/js/respond.min.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/js/html5shiv.min.js"></script>
    <![endif]-->
</head>

<body>
<div class="bg">
    <div class="container">
        <div class="row main">
            <div class="main-login main-center">
                <h5>Sign up once and watch any of our free demos.</h5>
                <form id="jobsetForm">
                    <div class="form-group">
                        <label for="sendinfo" class="cols-sm-2 control-label">发送信息详情名称</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-user fa" aria-hidden="true"></i></span>
                                <select class="form-control" id="sendinfo">
                                    <c:forEach var="set" items="${sets}">
                                        <option  value="${set.sendid}">${set.infoname}</option>
                                    </c:forEach>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="year" class="cols-sm-2 control-label">年</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-user fa" aria-hidden="true"></i></span>
                                <input type="text" class="form-control" name="year" id="year"
                                       placeholder="如: 2018"/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="month" class="cols-sm-2 control-label">月</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-envelope fa"
                                                                   aria-hidden="true"></i></span>
                                <input type="text" class="form-control" name="month" id="month"
                                       placeholder=""/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="week" class="cols-sm-2 control-label">周</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-users fa" aria-hidden="true"></i></span>
                                <input type="text" class="form-control" name="week" id="week"
                                       placeholder=""/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="day" class="cols-sm-2 control-label">日</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-users fa" aria-hidden="true"></i></span>
                                <input type="text" class="form-control" name="day" id="day"
                                       placeholder=""/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="hour" class="cols-sm-2 control-label">时</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-users fa" aria-hidden="true"></i></span>
                                <input type="text" class="form-control" name="hour" id="hour"
                                       placeholder=""/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="minute" class="cols-sm-2 control-label">分</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-users fa" aria-hidden="true"></i></span>
                                <input type="text" class="form-control" name="minute" id="minute"
                                       placeholder=""/>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="second" class="cols-sm-2 control-label">秒</label>
                        <div class="cols-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-users fa" aria-hidden="true"></i></span>
                                <input type="text" class="form-control" name="second" id="second"
                                       placeholder=""/>
                            </div>
                        </div>
                    </div>
                </form>
                <button type="button" id="setjob"
                        class="btn btn-primary btn-lg btn-block login-button"
                        data-href="${pageContext.request.contextPath}/jobset/addJob">确定
                </button>
            </div>
        </div>
    </div>
</div>

<!-- Modal 通用提示消息模态框-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" id="doit" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel" style="text-align:center;"></h4>
            </div>
            <div class="modal-body"></div>
        </div>
    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/js/jquery.min.js"></script>

<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/js/jobset/jobset.js"></script>
</body>
</html>